<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<meta http-equiv="X-UA-Compatible" content="IE=9"/>
<meta name="generator" content="Doxygen 1.8.15"/>
<meta name="viewport" content="width=device-width, initial-scale=1"/>
<title>WB32L003 Standard Peripherals Firmware Library: wb32l003_rcc.h Source File</title>
<link href="tabs.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="jquery.js"></script>
<script type="text/javascript" src="dynsections.js"></script>
<link href="search/search.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="search/searchdata.js"></script>
<script type="text/javascript" src="search/search.js"></script>
<link href="doxygen.css" rel="stylesheet" type="text/css" />
</head>
<body>
<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
<div id="titlearea">
<table cellspacing="0" cellpadding="0">
 <tbody>
 <tr style="height: 56px;">
  <td id="projectalign" style="padding-left: 0.5em;">
   <div id="projectname">WB32L003 Standard Peripherals Firmware Library
   </div>
  </td>
 </tr>
 </tbody>
</table>
</div>
<!-- end header part -->
<!-- Generated by Doxygen 1.8.15 -->
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:cf05388f2679ee054f2beb29a391d25f4e673ac3&amp;dn=gpl-2.0.txt GPL-v2 */
var searchBox = new SearchBox("searchBox", "search",false,'Search');
/* @license-end */
</script>
<script type="text/javascript" src="menudata.js"></script>
<script type="text/javascript" src="menu.js"></script>
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:cf05388f2679ee054f2beb29a391d25f4e673ac3&amp;dn=gpl-2.0.txt GPL-v2 */
$(function() {
  initMenu('',true,false,'search.php','Search');
  $(document).ready(function() { init_search(); });
});
/* @license-end */</script>
<div id="main-nav"></div>
<!-- window showing the filter options -->
<div id="MSearchSelectWindow"
     onmouseover="return searchBox.OnSearchSelectShow()"
     onmouseout="return searchBox.OnSearchSelectHide()"
     onkeydown="return searchBox.OnSearchSelectKey(event)">
</div>

<!-- iframe showing the search results (closed by default) -->
<div id="MSearchResultsWindow">
<iframe src="javascript:void(0)" frameborder="0" 
        name="MSearchResults" id="MSearchResults">
</iframe>
</div>

<div id="nav-path" class="navpath">
  <ul>
<li class="navelem"><a class="el" href="dir_6d2d5b60bd20db849a9486835a2715aa.html">Libraries</a></li><li class="navelem"><a class="el" href="dir_5ec8cccc32fa528457f3b4ed28e1a2cf.html">WB32L003_StdPeriph_Driver</a></li><li class="navelem"><a class="el" href="dir_cb9a941ec225bfb9bad4e8246158e282.html">inc</a></li>  </ul>
</div>
</div><!-- top -->
<div class="header">
  <div class="headertitle">
<div class="title">wb32l003_rcc.h</div>  </div>
</div><!--header-->
<div class="contents">
<a href="wb32l003__rcc_8h.html">Go to the documentation of this file.</a><div class="fragment"><div class="line"><a name="l00001"></a><span class="lineno">    1</span>&#160;</div><div class="line"><a name="l00010"></a><span class="lineno">   10</span>&#160;<span class="comment">/* Define to prevent recursive inclusion -------------------------------------*/</span></div><div class="line"><a name="l00011"></a><span class="lineno">   11</span>&#160;<span class="preprocessor">#ifndef __WB32L003_RCC_H</span></div><div class="line"><a name="l00012"></a><span class="lineno">   12</span>&#160;<span class="preprocessor">#define __WB32L003_RCC_H</span></div><div class="line"><a name="l00013"></a><span class="lineno">   13</span>&#160;</div><div class="line"><a name="l00014"></a><span class="lineno">   14</span>&#160;<span class="preprocessor">#ifdef __cplusplus</span></div><div class="line"><a name="l00015"></a><span class="lineno">   15</span>&#160; <span class="keyword">extern</span> <span class="stringliteral">&quot;C&quot;</span> {</div><div class="line"><a name="l00016"></a><span class="lineno">   16</span>&#160;<span class="preprocessor">#endif</span></div><div class="line"><a name="l00017"></a><span class="lineno">   17</span>&#160;</div><div class="line"><a name="l00018"></a><span class="lineno">   18</span>&#160;<span class="comment">/* Includes ------------------------------------------------------------------*/</span></div><div class="line"><a name="l00019"></a><span class="lineno">   19</span>&#160;<span class="preprocessor">#include &quot;wb32l003.h&quot;</span></div><div class="line"><a name="l00020"></a><span class="lineno">   20</span>&#160;</div><div class="line"><a name="l00029"></a><span class="lineno">   29</span>&#160;<span class="comment">/* Exported types ------------------------------------------------------------*/</span></div><div class="line"><a name="l00030"></a><span class="lineno"><a class="line" href="struct_r_c_c___clocks_type_def.html">   30</a></span>&#160;<span class="keyword">typedef</span> <span class="keyword">struct</span></div><div class="line"><a name="l00031"></a><span class="lineno">   31</span>&#160;{</div><div class="line"><a name="l00032"></a><span class="lineno"><a class="line" href="struct_r_c_c___clocks_type_def.html#a48b5f04759728e39921969e75c4899e8">   32</a></span>&#160;  uint32_t <a class="code" href="struct_r_c_c___clocks_type_def.html#a48b5f04759728e39921969e75c4899e8">SYSCLK_Frequency</a>; </div><div class="line"><a name="l00033"></a><span class="lineno"><a class="line" href="struct_r_c_c___clocks_type_def.html#a763579b1f78acbd110b83ab7d139a829">   33</a></span>&#160;  uint32_t <a class="code" href="struct_r_c_c___clocks_type_def.html#a763579b1f78acbd110b83ab7d139a829">AHBCLK_Frequency</a>; </div><div class="line"><a name="l00034"></a><span class="lineno"><a class="line" href="struct_r_c_c___clocks_type_def.html#a79bc7eb9603df665f549032fc14282fd">   34</a></span>&#160;  uint32_t <a class="code" href="struct_r_c_c___clocks_type_def.html#a79bc7eb9603df665f549032fc14282fd">APBCLK_Frequency</a>; </div><div class="line"><a name="l00035"></a><span class="lineno">   35</span>&#160;} <a class="code" href="struct_r_c_c___clocks_type_def.html">RCC_ClocksTypeDef</a>;</div><div class="line"><a name="l00036"></a><span class="lineno">   36</span>&#160;</div><div class="line"><a name="l00037"></a><span class="lineno">   37</span>&#160;<span class="comment">/* Exported constants --------------------------------------------------------*/</span></div><div class="line"><a name="l00038"></a><span class="lineno">   38</span>&#160;</div><div class="line"><a name="l00046"></a><span class="lineno"><a class="line" href="group___r_c_c___h_s_i___value.html#gadf7eb5d3664cf415605b57b0e29da1df">   46</a></span>&#160;<span class="preprocessor">#define HSI_VALUE_24M                       ((uint32_t)24000000) </span></div><div class="line"><a name="l00047"></a><span class="lineno"><a class="line" href="group___r_c_c___h_s_i___value.html#ga2ea2bf1a37fee3fb567a70556958d0d4">   47</a></span>&#160;<span class="preprocessor">#define HSI_VALUE_22M                       ((uint32_t)22120000) </span></div><div class="line"><a name="l00048"></a><span class="lineno"><a class="line" href="group___r_c_c___h_s_i___value.html#ga06fc0c76e6a3c418b3dcc08b34d895e0">   48</a></span>&#160;<span class="preprocessor">#define HSI_VALUE_16M                       ((uint32_t)16000000) </span></div><div class="line"><a name="l00049"></a><span class="lineno"><a class="line" href="group___r_c_c___h_s_i___value.html#ga763b451ad9dfe82a580585a30e2e6dac">   49</a></span>&#160;<span class="preprocessor">#define HSI_VALUE_8M                        ((uint32_t)8000000)  </span></div><div class="line"><a name="l00050"></a><span class="lineno"><a class="line" href="group___r_c_c___h_s_i___value.html#ga2ca1b11c39a3139611b3b4af8258ad9a">   50</a></span>&#160;<span class="preprocessor">#define HSI_VALUE_4M                        ((uint32_t)4000000)  </span></div><div class="line"><a name="l00059"></a><span class="lineno"><a class="line" href="group___r_c_c___l_s_i___value.html#ga42cbd9f082ff3511ebda6246741844e2">   59</a></span>&#160;<span class="preprocessor">#define LSI_VALUE_38K                       ((uint32_t)38400)    </span></div><div class="line"><a name="l00060"></a><span class="lineno"><a class="line" href="group___r_c_c___l_s_i___value.html#ga529c09c248adfeb25dddc945b681c6fc">   60</a></span>&#160;<span class="preprocessor">#define LSI_VALUE_32K                       ((uint32_t)32768)    </span></div><div class="line"><a name="l00069"></a><span class="lineno"><a class="line" href="group___r_c_c___l_s_i___startup___value.html#ga8b0c62bd0e3a2608ee14e7da857c0320">   69</a></span>&#160;<span class="preprocessor">#define RCC_LSI_STARTUP_4CYCLE              ((uint32_t)0x00 &lt;&lt; RCC_LSICR_LSISTARTUP_Pos)       </span></div><div class="line"><a name="l00070"></a><span class="lineno"><a class="line" href="group___r_c_c___l_s_i___startup___value.html#gaaf4a2a393e4aed90cba392d5365375ee">   70</a></span>&#160;<span class="preprocessor">#define RCC_LSI_STARTUP_16CYCLE             ((uint32_t)0x01 &lt;&lt; RCC_LSICR_LSISTARTUP_Pos)       </span></div><div class="line"><a name="l00071"></a><span class="lineno"><a class="line" href="group___r_c_c___l_s_i___startup___value.html#gaf345853a921335f26d9a7b10b120011b">   71</a></span>&#160;<span class="preprocessor">#define RCC_LSI_STARTUP_64CYCLE             ((uint32_t)0x02 &lt;&lt; RCC_LSICR_LSISTARTUP_Pos)       </span></div><div class="line"><a name="l00072"></a><span class="lineno"><a class="line" href="group___r_c_c___l_s_i___startup___value.html#gae8afae4b8bea5ae464a202054dd8edc6">   72</a></span>&#160;<span class="preprocessor">#define RCC_LSI_STARTUP_256CYCLE            ((uint32_t)0x03 &lt;&lt; RCC_LSICR_LSISTARTUP_Pos)       </span></div><div class="line"><a name="l00080"></a><span class="lineno"><a class="line" href="group___r_c_c___h_s_e.html#ga1616626d23fbce440398578855df6f97">   80</a></span>&#160;<span class="preprocessor">#define RCC_HSE_OFF                         ((uint32_t)0x00)   </span></div><div class="line"><a name="l00081"></a><span class="lineno"><a class="line" href="group___r_c_c___h_s_e.html#gabc4f70a44776c557af20496b04d9a9db">   81</a></span>&#160;<span class="preprocessor">#define RCC_HSE_ON                          ((uint32_t)0x01)   </span></div><div class="line"><a name="l00082"></a><span class="lineno"><a class="line" href="group___r_c_c___h_s_e.html#ga5ca515db2d5c4d5bdb9ee3d154df2704">   82</a></span>&#160;<span class="preprocessor">#define RCC_HSE_BYPASS                      ((uint32_t)0x02)   </span></div><div class="line"><a name="l00083"></a><span class="lineno">   83</span>&#160;<span class="preprocessor">#define RCC_HSE_DEFAULT                     ((uint32_t)0x03)</span></div><div class="line"><a name="l00084"></a><span class="lineno">   84</span>&#160;</div><div class="line"><a name="l00092"></a><span class="lineno"><a class="line" href="group___r_c_c___l_s_e.html#ga6645c27708d0cad1a4ab61d2abb24c77">   92</a></span>&#160;<span class="preprocessor">#define RCC_LSE_OFF                         ((uint32_t)0x00)   </span></div><div class="line"><a name="l00093"></a><span class="lineno"><a class="line" href="group___r_c_c___l_s_e.html#gac981ea636c2f215e4473901e0912f55a">   93</a></span>&#160;<span class="preprocessor">#define RCC_LSE_ON                          ((uint32_t)0x01)   </span></div><div class="line"><a name="l00094"></a><span class="lineno"><a class="line" href="group___r_c_c___l_s_e.html#gaad580157edbae878edbcc83c5a68e767">   94</a></span>&#160;<span class="preprocessor">#define RCC_LSE_BYPASS                      ((uint32_t)0x02)   </span></div><div class="line"><a name="l00095"></a><span class="lineno">   95</span>&#160;<span class="preprocessor">#define RCC_LSE_DEFAULT                     ((uint32_t)0x03)</span></div><div class="line"><a name="l00096"></a><span class="lineno">   96</span>&#160;</div><div class="line"><a name="l00104"></a><span class="lineno">  104</span>&#160;<span class="preprocessor">#define RCC_SYSCLKSource_HSI                ((uint32_t)0x01 &lt;&lt; RCC_SYSCLKSEL_CLKSW_Pos)</span></div><div class="line"><a name="l00105"></a><span class="lineno">  105</span>&#160;<span class="preprocessor">#define RCC_SYSCLKSource_HSE                ((uint32_t)0x02 &lt;&lt; RCC_SYSCLKSEL_CLKSW_Pos)</span></div><div class="line"><a name="l00106"></a><span class="lineno">  106</span>&#160;<span class="preprocessor">#define RCC_SYSCLKSource_LSI                ((uint32_t)0x04 &lt;&lt; RCC_SYSCLKSEL_CLKSW_Pos)</span></div><div class="line"><a name="l00107"></a><span class="lineno">  107</span>&#160;<span class="preprocessor">#define RCC_SYSCLKSource_LSE                ((uint32_t)0x08 &lt;&lt; RCC_SYSCLKSEL_CLKSW_Pos)</span></div><div class="line"><a name="l00108"></a><span class="lineno">  108</span>&#160;</div><div class="line"><a name="l00116"></a><span class="lineno">  116</span>&#160;<span class="preprocessor">#define RCC_AHBCLKDiv1                      ((uint32_t)0x00)</span></div><div class="line"><a name="l00117"></a><span class="lineno">  117</span>&#160;<span class="preprocessor">#define RCC_AHBCLKDiv2                      ((uint32_t)0x01)</span></div><div class="line"><a name="l00118"></a><span class="lineno">  118</span>&#160;</div><div class="line"><a name="l00126"></a><span class="lineno">  126</span>&#160;<span class="preprocessor">#define RCC_APBCLKDiv1                      ((uint32_t)0x00)</span></div><div class="line"><a name="l00127"></a><span class="lineno">  127</span>&#160;<span class="preprocessor">#define RCC_APBCLKDiv2                      ((uint32_t)0x01)</span></div><div class="line"><a name="l00128"></a><span class="lineno">  128</span>&#160;</div><div class="line"><a name="l00136"></a><span class="lineno">  136</span>&#160;<span class="preprocessor">#define RCC_MCOSOURCE_HSI                   ((uint32_t)0x00 &lt;&lt; RCC_MCOCR_MCOSEL_Pos)</span></div><div class="line"><a name="l00137"></a><span class="lineno">  137</span>&#160;<span class="preprocessor">#define RCC_MCOSOURCE_HSE                   ((uint32_t)0x01 &lt;&lt; RCC_MCOCR_MCOSEL_Pos)</span></div><div class="line"><a name="l00138"></a><span class="lineno">  138</span>&#160;<span class="preprocessor">#define RCC_MCOSOURCE_LSI                   ((uint32_t)0x02 &lt;&lt; RCC_MCOCR_MCOSEL_Pos)</span></div><div class="line"><a name="l00139"></a><span class="lineno">  139</span>&#160;<span class="preprocessor">#define RCC_MCOSOURCE_LSE                   ((uint32_t)0x03 &lt;&lt; RCC_MCOCR_MCOSEL_Pos)</span></div><div class="line"><a name="l00140"></a><span class="lineno">  140</span>&#160;<span class="preprocessor">#define RCC_MCOSOURCE_SYSCLK                ((uint32_t)0x04 &lt;&lt; RCC_MCOCR_MCOSEL_Pos)</span></div><div class="line"><a name="l00141"></a><span class="lineno">  141</span>&#160;<span class="preprocessor">#define RCC_MCOSOURCE_HCLK                  ((uint32_t)0x05 &lt;&lt; RCC_MCOCR_MCOSEL_Pos)</span></div><div class="line"><a name="l00142"></a><span class="lineno">  142</span>&#160;</div><div class="line"><a name="l00150"></a><span class="lineno">  150</span>&#160;<span class="preprocessor">#define RCC_MCOHCLkDiv1                     ((uint32_t)0x00)</span></div><div class="line"><a name="l00151"></a><span class="lineno">  151</span>&#160;<span class="preprocessor">#define RCC_MCOHCLkDiv2                     ((uint32_t)0x01)</span></div><div class="line"><a name="l00152"></a><span class="lineno">  152</span>&#160;</div><div class="line"><a name="l00160"></a><span class="lineno">  160</span>&#160;<span class="preprocessor">#define RCC_AHBPeriph_GPIOA                 ((uint32_t)0x01 &lt;&lt; 0)</span></div><div class="line"><a name="l00161"></a><span class="lineno">  161</span>&#160;<span class="preprocessor">#define RCC_AHBPeriph_GPIOB                 ((uint32_t)0x01 &lt;&lt; 1)</span></div><div class="line"><a name="l00162"></a><span class="lineno">  162</span>&#160;<span class="preprocessor">#define RCC_AHBPeriph_GPIOC                 ((uint32_t)0x01 &lt;&lt; 2)</span></div><div class="line"><a name="l00163"></a><span class="lineno">  163</span>&#160;<span class="preprocessor">#define RCC_AHBPeriph_GPIOD                 ((uint32_t)0x01 &lt;&lt; 3)</span></div><div class="line"><a name="l00164"></a><span class="lineno">  164</span>&#160;<span class="preprocessor">#define RCC_AHBPeriph_CRC                   ((uint32_t)0x01 &lt;&lt; 4)</span></div><div class="line"><a name="l00165"></a><span class="lineno">  165</span>&#160;<span class="preprocessor">#define RCC_AHBPeriph_FLASH                 ((uint32_t)0x01 &lt;&lt; 8)</span></div><div class="line"><a name="l00166"></a><span class="lineno">  166</span>&#160;<span class="preprocessor">#define RCC_AHBPeriph_ALL                   ((uint32_t)0x0000011F)</span></div><div class="line"><a name="l00167"></a><span class="lineno">  167</span>&#160;</div><div class="line"><a name="l00175"></a><span class="lineno">  175</span>&#160;<span class="preprocessor">#define RCC_APBPeriph_UART1                 ((uint32_t)0x01 &lt;&lt; 0)</span></div><div class="line"><a name="l00176"></a><span class="lineno">  176</span>&#160;<span class="preprocessor">#define RCC_APBPeriph_UART2                 ((uint32_t)0x01 &lt;&lt; 1)</span></div><div class="line"><a name="l00177"></a><span class="lineno">  177</span>&#160;<span class="preprocessor">#define RCC_APBPeriph_I2C                   ((uint32_t)0x01 &lt;&lt; 2)</span></div><div class="line"><a name="l00178"></a><span class="lineno">  178</span>&#160;<span class="preprocessor">#define RCC_APBPeriph_LPUART                ((uint32_t)0x01 &lt;&lt; 3)</span></div><div class="line"><a name="l00179"></a><span class="lineno">  179</span>&#160;<span class="preprocessor">#define RCC_APBPeriph_SPI                   ((uint32_t)0x01 &lt;&lt; 4)</span></div><div class="line"><a name="l00180"></a><span class="lineno">  180</span>&#160;<span class="preprocessor">#define RCC_APBPeriph_LPTIM                 ((uint32_t)0x01 &lt;&lt; 5)</span></div><div class="line"><a name="l00181"></a><span class="lineno">  181</span>&#160;<span class="preprocessor">#define RCC_APBPeriph_BASETIM               ((uint32_t)0x01 &lt;&lt; 6)</span></div><div class="line"><a name="l00182"></a><span class="lineno">  182</span>&#160;<span class="preprocessor">#define RCC_APBPeriph_SYSCON                ((uint32_t)0x01 &lt;&lt; 7)</span></div><div class="line"><a name="l00183"></a><span class="lineno">  183</span>&#160;<span class="preprocessor">#define RCC_APBPeriph_PCA                   ((uint32_t)0x01 &lt;&lt; 8)</span></div><div class="line"><a name="l00184"></a><span class="lineno">  184</span>&#160;<span class="preprocessor">#define RCC_APBPeriph_OWIRE                 ((uint32_t)0x01 &lt;&lt; 9)</span></div><div class="line"><a name="l00185"></a><span class="lineno">  185</span>&#160;<span class="preprocessor">#define RCC_APBPeriph_TIM1                  ((uint32_t)0x01 &lt;&lt; 10)</span></div><div class="line"><a name="l00186"></a><span class="lineno">  186</span>&#160;<span class="preprocessor">#define RCC_APBPeriph_TIM2                  ((uint32_t)0x01 &lt;&lt; 11)</span></div><div class="line"><a name="l00187"></a><span class="lineno">  187</span>&#160;<span class="preprocessor">#define RCC_APBPeriph_WWDG                  ((uint32_t)0x01 &lt;&lt; 12)</span></div><div class="line"><a name="l00188"></a><span class="lineno">  188</span>&#160;<span class="preprocessor">#define RCC_APBPeriph_ADC                   ((uint32_t)0x01 &lt;&lt; 13)</span></div><div class="line"><a name="l00189"></a><span class="lineno">  189</span>&#160;<span class="preprocessor">#define RCC_APBPeriph_AWK                   ((uint32_t)0x01 &lt;&lt; 14)</span></div><div class="line"><a name="l00190"></a><span class="lineno">  190</span>&#160;<span class="preprocessor">#define RCC_APBPeriph_RTC                   ((uint32_t)0x01 &lt;&lt; 15)</span></div><div class="line"><a name="l00191"></a><span class="lineno">  191</span>&#160;<span class="preprocessor">#define RCC_APBPeriph_CLKTRIM               ((uint32_t)0x01 &lt;&lt; 16)</span></div><div class="line"><a name="l00192"></a><span class="lineno">  192</span>&#160;<span class="preprocessor">#define RCC_APBPeriph_IWDG                  ((uint32_t)0x01 &lt;&lt; 17)</span></div><div class="line"><a name="l00193"></a><span class="lineno">  193</span>&#160;<span class="preprocessor">#define RCC_APBPeriph_LVDVC                 ((uint32_t)0x01 &lt;&lt; 18)</span></div><div class="line"><a name="l00194"></a><span class="lineno">  194</span>&#160;<span class="preprocessor">#define RCC_APBPeriph_BEEP                  ((uint32_t)0x01 &lt;&lt; 19)</span></div><div class="line"><a name="l00195"></a><span class="lineno">  195</span>&#160;<span class="preprocessor">#define RCC_APBPeriph_DBG                   ((uint32_t)0x01 &lt;&lt; 20)</span></div><div class="line"><a name="l00196"></a><span class="lineno">  196</span>&#160;<span class="preprocessor">#define RCC_APBPeriph_ALL                   ((uint32_t)0x001FFFFF)</span></div><div class="line"><a name="l00197"></a><span class="lineno">  197</span>&#160;</div><div class="line"><a name="l00205"></a><span class="lineno">  205</span>&#160;<span class="preprocessor">#define RCC_RSTFLAG_MCURST                  ((uint32_t)0x01 &lt;&lt; 0)</span></div><div class="line"><a name="l00206"></a><span class="lineno">  206</span>&#160;<span class="preprocessor">#define RCC_RSTFLAG_CPURST                  ((uint32_t)0x01 &lt;&lt; 1)</span></div><div class="line"><a name="l00207"></a><span class="lineno">  207</span>&#160;<span class="preprocessor">#define RCC_RSTFLAG_WWDGRST                 ((uint32_t)0x01 &lt;&lt; 2)</span></div><div class="line"><a name="l00208"></a><span class="lineno">  208</span>&#160;<span class="preprocessor">#define RCC_RSTFLAG_IWDGRST                 ((uint32_t)0x01 &lt;&lt; 3)</span></div><div class="line"><a name="l00209"></a><span class="lineno">  209</span>&#160;<span class="preprocessor">#define RCC_RSTFLAG_LVDRST                  ((uint32_t)0x01 &lt;&lt; 4)</span></div><div class="line"><a name="l00210"></a><span class="lineno">  210</span>&#160;<span class="preprocessor">#define RCC_RSTFLAG_PORRST                  ((uint32_t)0x01 &lt;&lt; 5)</span></div><div class="line"><a name="l00211"></a><span class="lineno">  211</span>&#160;<span class="preprocessor">#define RCC_RSTFLAG_LOCKUPRST               ((uint32_t)0x01 &lt;&lt; 6)</span></div><div class="line"><a name="l00212"></a><span class="lineno">  212</span>&#160;<span class="preprocessor">#define RCC_RSTFLAG_PADRST                  ((uint32_t)0x01 &lt;&lt; 7)</span></div><div class="line"><a name="l00213"></a><span class="lineno">  213</span>&#160;<span class="preprocessor">#define RCC_RSTFLAG_SFTRST                  ((uint32_t)0x01 &lt;&lt; 8)</span></div><div class="line"><a name="l00214"></a><span class="lineno">  214</span>&#160;</div><div class="line"><a name="l00222"></a><span class="lineno">  222</span>&#160;<span class="preprocessor">#define HSI24M_TRIM_ADDR                    ((uint32_t)0x180000A0)</span></div><div class="line"><a name="l00223"></a><span class="lineno">  223</span>&#160;<span class="preprocessor">#define HSI22M_TRIM_ADDR                    ((uint32_t)0x180000A2)</span></div><div class="line"><a name="l00224"></a><span class="lineno">  224</span>&#160;<span class="preprocessor">#define HSI16M_TRIM_ADDR                    ((uint32_t)0x180000A4)</span></div><div class="line"><a name="l00225"></a><span class="lineno">  225</span>&#160;<span class="preprocessor">#define HSI8M_TRIM_ADDR                     ((uint32_t)0x180000A6)</span></div><div class="line"><a name="l00226"></a><span class="lineno">  226</span>&#160;<span class="preprocessor">#define HSI4M_TRIM_ADDR                     ((uint32_t)0x180000A8)</span></div><div class="line"><a name="l00227"></a><span class="lineno">  227</span>&#160;</div><div class="line"><a name="l00228"></a><span class="lineno">  228</span>&#160;<span class="preprocessor">#define HSI24M_TC_ADDR                      ((uint32_t)0x18000090)</span></div><div class="line"><a name="l00229"></a><span class="lineno">  229</span>&#160;<span class="preprocessor">#define HSI22M_TC_ADDR                      ((uint32_t)0x18000092)</span></div><div class="line"><a name="l00230"></a><span class="lineno">  230</span>&#160;<span class="preprocessor">#define HSI16M_TC_ADDR                      ((uint32_t)0x18000094)</span></div><div class="line"><a name="l00231"></a><span class="lineno">  231</span>&#160;<span class="preprocessor">#define HSI8M_TC_ADDR                       ((uint32_t)0x18000096)</span></div><div class="line"><a name="l00232"></a><span class="lineno">  232</span>&#160;<span class="preprocessor">#define HSI4M_TC_ADDR                       ((uint32_t)0x18000098)</span></div><div class="line"><a name="l00233"></a><span class="lineno">  233</span>&#160;</div><div class="line"><a name="l00234"></a><span class="lineno">  234</span>&#160;<span class="preprocessor">#define RCC_HSITRIM_24M                     (*(uint16_t *)(HSI24M_TRIM_ADDR))</span></div><div class="line"><a name="l00235"></a><span class="lineno">  235</span>&#160;<span class="preprocessor">#define RCC_HSITRIM_22M                     (*(uint16_t *)(HSI22M_TRIM_ADDR))</span></div><div class="line"><a name="l00236"></a><span class="lineno">  236</span>&#160;<span class="preprocessor">#define RCC_HSITRIM_16M                     (*(uint16_t *)(HSI16M_TRIM_ADDR))</span></div><div class="line"><a name="l00237"></a><span class="lineno">  237</span>&#160;<span class="preprocessor">#define RCC_HSITRIM_8M                      (*(uint16_t *)(HSI8M_TRIM_ADDR))</span></div><div class="line"><a name="l00238"></a><span class="lineno">  238</span>&#160;<span class="preprocessor">#define RCC_HSITRIM_4M                      (*(uint16_t *)(HSI4M_TRIM_ADDR))</span></div><div class="line"><a name="l00239"></a><span class="lineno">  239</span>&#160;</div><div class="line"><a name="l00240"></a><span class="lineno">  240</span>&#160;<span class="preprocessor">#define RCC_HSITC_24M                       (*(uint16_t *)(HSI24M_TC_ADDR))</span></div><div class="line"><a name="l00241"></a><span class="lineno">  241</span>&#160;<span class="preprocessor">#define RCC_HSITC_22M                       (*(uint16_t *)(HSI22M_TC_ADDR))</span></div><div class="line"><a name="l00242"></a><span class="lineno">  242</span>&#160;<span class="preprocessor">#define RCC_HSITC_16M                       (*(uint16_t *)(HSI16M_TC_ADDR))</span></div><div class="line"><a name="l00243"></a><span class="lineno">  243</span>&#160;<span class="preprocessor">#define RCC_HSITC_8M                        (*(uint16_t *)(HSI8M_TC_ADDR))</span></div><div class="line"><a name="l00244"></a><span class="lineno">  244</span>&#160;<span class="preprocessor">#define RCC_HSITC_4M                        (*(uint16_t *)(HSI4M_TC_ADDR))</span></div><div class="line"><a name="l00245"></a><span class="lineno">  245</span>&#160;</div><div class="line"><a name="l00246"></a><span class="lineno">  246</span>&#160;<span class="preprocessor">#define RCC_HSICALIBRATION_DEFAULT          ((uint32_t)0x00000312)</span></div><div class="line"><a name="l00247"></a><span class="lineno">  247</span>&#160;</div><div class="line"><a name="l00255"></a><span class="lineno">  255</span>&#160;<span class="preprocessor">#define LSI38K_TRIM_ADDR                    ((uint32_t)0x180000B4)</span></div><div class="line"><a name="l00256"></a><span class="lineno">  256</span>&#160;<span class="preprocessor">#define LSI32K_TRIM_ADDR                    ((uint32_t)0x180000B0)</span></div><div class="line"><a name="l00257"></a><span class="lineno">  257</span>&#160;</div><div class="line"><a name="l00258"></a><span class="lineno">  258</span>&#160;<span class="preprocessor">#define LSI38K_TC_ADDR                      ((uint32_t)0x180000BC)</span></div><div class="line"><a name="l00259"></a><span class="lineno">  259</span>&#160;<span class="preprocessor">#define LSI32K_TC_ADDR                      ((uint32_t)0x180000B8)</span></div><div class="line"><a name="l00260"></a><span class="lineno">  260</span>&#160;</div><div class="line"><a name="l00261"></a><span class="lineno">  261</span>&#160;<span class="preprocessor">#define RCC_LSITRIM_38K                     (*(uint16_t *)(LSI38K_TRIM_ADDR))</span></div><div class="line"><a name="l00262"></a><span class="lineno">  262</span>&#160;<span class="preprocessor">#define RCC_LSITRIM_32K                     (*(uint16_t *)(LSI32K_TRIM_ADDR))</span></div><div class="line"><a name="l00263"></a><span class="lineno">  263</span>&#160;</div><div class="line"><a name="l00264"></a><span class="lineno">  264</span>&#160;<span class="preprocessor">#define RCC_LSITC_38K                       (*(uint16_t *)(LSI38K_TC_ADDR))</span></div><div class="line"><a name="l00265"></a><span class="lineno">  265</span>&#160;<span class="preprocessor">#define RCC_LSITC_32K                       (*(uint16_t *)(LSI32K_TC_ADDR))</span></div><div class="line"><a name="l00266"></a><span class="lineno">  266</span>&#160;</div><div class="line"><a name="l00267"></a><span class="lineno">  267</span>&#160;<span class="preprocessor">#define RCC_LSICALIBRATION_DEFAULT          0x0000007FU</span></div><div class="line"><a name="l00268"></a><span class="lineno">  268</span>&#160;</div><div class="line"><a name="l00277"></a><span class="lineno">  277</span>&#160;<span class="comment">/* Exported macro ------------------------------------------------------------*/</span></div><div class="line"><a name="l00278"></a><span class="lineno">  278</span>&#160;</div><div class="line"><a name="l00279"></a><span class="lineno">  279</span>&#160;<span class="preprocessor">#define IS_HSI_VALUE(VALUE) (((VALUE) == HSI_VALUE_24M) || \</span></div><div class="line"><a name="l00280"></a><span class="lineno">  280</span>&#160;<span class="preprocessor">                             ((VALUE) == HSI_VALUE_22M) || \</span></div><div class="line"><a name="l00281"></a><span class="lineno">  281</span>&#160;<span class="preprocessor">                             ((VALUE) == HSI_VALUE_16M) || \</span></div><div class="line"><a name="l00282"></a><span class="lineno">  282</span>&#160;<span class="preprocessor">                             ((VALUE) == HSI_VALUE_8M) || \</span></div><div class="line"><a name="l00283"></a><span class="lineno">  283</span>&#160;<span class="preprocessor">                             ((VALUE) == HSI_VALUE_4M))</span></div><div class="line"><a name="l00284"></a><span class="lineno">  284</span>&#160;</div><div class="line"><a name="l00285"></a><span class="lineno">  285</span>&#160;<span class="preprocessor">#define IS_LSI_VALUE(VALUE) (((VALUE) == LSI_VALUE_38K) || \</span></div><div class="line"><a name="l00286"></a><span class="lineno">  286</span>&#160;<span class="preprocessor">                             ((VALUE) == LSI_VALUE_32K))</span></div><div class="line"><a name="l00287"></a><span class="lineno">  287</span>&#160;</div><div class="line"><a name="l00288"></a><span class="lineno">  288</span>&#160;<span class="preprocessor">#define IS_RCC_LSI_STARTUP(TIME) (((TIME) == RCC_LSI_STARTUP_4CYCLE) || \</span></div><div class="line"><a name="l00289"></a><span class="lineno">  289</span>&#160;<span class="preprocessor">                                  ((TIME) == RCC_LSI_STARTUP_16CYCLE) || \</span></div><div class="line"><a name="l00290"></a><span class="lineno">  290</span>&#160;<span class="preprocessor">                                  ((TIME) == RCC_LSI_STARTUP_64CYCLE) || \</span></div><div class="line"><a name="l00291"></a><span class="lineno">  291</span>&#160;<span class="preprocessor">                                  ((TIME) == RCC_LSI_STARTUP_256CYCLE))</span></div><div class="line"><a name="l00292"></a><span class="lineno">  292</span>&#160;</div><div class="line"><a name="l00293"></a><span class="lineno">  293</span>&#160;<span class="preprocessor">#define IS_RCC_HSE(HSE) (((HSE) == RCC_HSE_OFF) || \</span></div><div class="line"><a name="l00294"></a><span class="lineno">  294</span>&#160;<span class="preprocessor">                         ((HSE) == RCC_HSE_ON) || \</span></div><div class="line"><a name="l00295"></a><span class="lineno">  295</span>&#160;<span class="preprocessor">                         ((HSE) == RCC_HSE_BYPASS) || \</span></div><div class="line"><a name="l00296"></a><span class="lineno">  296</span>&#160;<span class="preprocessor">                         ((HSE) == RCC_HSE_DEFAULT))</span></div><div class="line"><a name="l00297"></a><span class="lineno">  297</span>&#160;</div><div class="line"><a name="l00298"></a><span class="lineno">  298</span>&#160;<span class="preprocessor">#define IS_RCC_LSE(LSE) (((LSE) == RCC_LSE_OFF) || \</span></div><div class="line"><a name="l00299"></a><span class="lineno">  299</span>&#160;<span class="preprocessor">                         ((LSE) == RCC_LSE_ON) || \</span></div><div class="line"><a name="l00300"></a><span class="lineno">  300</span>&#160;<span class="preprocessor">                         ((LSE) == RCC_LSE_BYPASS) || \</span></div><div class="line"><a name="l00301"></a><span class="lineno">  301</span>&#160;<span class="preprocessor">                         ((LSE) == RCC_LSE_DEFAULT))</span></div><div class="line"><a name="l00302"></a><span class="lineno">  302</span>&#160;</div><div class="line"><a name="l00303"></a><span class="lineno">  303</span>&#160;<span class="preprocessor">#define IS_RCC_SYSCLK_SOURCE(SOURCE) (((SOURCE) == RCC_SYSCLKSource_HSI) || \</span></div><div class="line"><a name="l00304"></a><span class="lineno">  304</span>&#160;<span class="preprocessor">                                      ((SOURCE) == RCC_SYSCLKSource_HSE) || \</span></div><div class="line"><a name="l00305"></a><span class="lineno">  305</span>&#160;<span class="preprocessor">                                      ((SOURCE) == RCC_SYSCLKSource_LSI) || \</span></div><div class="line"><a name="l00306"></a><span class="lineno">  306</span>&#160;<span class="preprocessor">                                      ((SOURCE) == RCC_SYSCLKSource_LSE))</span></div><div class="line"><a name="l00307"></a><span class="lineno">  307</span>&#160;</div><div class="line"><a name="l00308"></a><span class="lineno">  308</span>&#160;<span class="preprocessor">#define IS_RCC_AHBCLKDiv(DIV)               (((int32_t)DIV &gt; 0) &amp;&amp; (DIV &lt;= 510))</span></div><div class="line"><a name="l00309"></a><span class="lineno">  309</span>&#160;</div><div class="line"><a name="l00310"></a><span class="lineno">  310</span>&#160;<span class="preprocessor">#define IS_RCC_APBCLKDiv(DIV)               (((int32_t)DIV &gt; 0) &amp;&amp; (DIV &lt;= 510))</span></div><div class="line"><a name="l00311"></a><span class="lineno">  311</span>&#160;</div><div class="line"><a name="l00312"></a><span class="lineno">  312</span>&#160;<span class="preprocessor">#define IS_RCC_MCO_HCLkDiv(DIV)              (((int32_t)DIV &gt; 0) &amp;&amp; (DIV &lt;= 510))</span></div><div class="line"><a name="l00313"></a><span class="lineno">  313</span>&#160;</div><div class="line"><a name="l00314"></a><span class="lineno">  314</span>&#160;<span class="preprocessor">#define IS_RCC_MCO_SOURCE(SOURCE) (((SOURCE) == RCC_MCOSOURCE_HSI) || \</span></div><div class="line"><a name="l00315"></a><span class="lineno">  315</span>&#160;<span class="preprocessor">                                   ((SOURCE) == RCC_MCOSOURCE_HSE) || \</span></div><div class="line"><a name="l00316"></a><span class="lineno">  316</span>&#160;<span class="preprocessor">                                   ((SOURCE) == RCC_MCOSOURCE_LSI) || \</span></div><div class="line"><a name="l00317"></a><span class="lineno">  317</span>&#160;<span class="preprocessor">                                   ((SOURCE) == RCC_MCOSOURCE_LSE) || \</span></div><div class="line"><a name="l00318"></a><span class="lineno">  318</span>&#160;<span class="preprocessor">                                   ((SOURCE) == RCC_MCOSOURCE_SYSCLK) || \</span></div><div class="line"><a name="l00319"></a><span class="lineno">  319</span>&#160;<span class="preprocessor">                                   ((SOURCE) == RCC_MCOSOURCE_HCLK))</span></div><div class="line"><a name="l00320"></a><span class="lineno">  320</span>&#160;</div><div class="line"><a name="l00321"></a><span class="lineno">  321</span>&#160;<span class="preprocessor">#define IS_RCC_AHB_PERIPH(PERIPH) ((((PERIPH) &amp; RCC_AHBPeriph_ALL) != 0))</span></div><div class="line"><a name="l00322"></a><span class="lineno">  322</span>&#160;</div><div class="line"><a name="l00323"></a><span class="lineno">  323</span>&#160;<span class="preprocessor">#define IS_RCC_APB_PERIPH(PERIPH) ((((PERIPH) &amp; RCC_APBPeriph_ALL) != 0))</span></div><div class="line"><a name="l00324"></a><span class="lineno">  324</span>&#160;</div><div class="line"><a name="l00325"></a><span class="lineno">  325</span>&#160;<span class="preprocessor">#define IS_RCC_RESET_FLAG(Flag)   (((Flag) == RCC_RSTFLAG_MCURST) || \</span></div><div class="line"><a name="l00326"></a><span class="lineno">  326</span>&#160;<span class="preprocessor">                                   ((Flag) == RCC_RSTFLAG_CPURST) || \</span></div><div class="line"><a name="l00327"></a><span class="lineno">  327</span>&#160;<span class="preprocessor">                                   ((Flag) == RCC_RSTFLAG_WWDGRST) || \</span></div><div class="line"><a name="l00328"></a><span class="lineno">  328</span>&#160;<span class="preprocessor">                                   ((Flag) == RCC_RSTFLAG_IWDGRST) || \</span></div><div class="line"><a name="l00329"></a><span class="lineno">  329</span>&#160;<span class="preprocessor">                                   ((Flag) == RCC_RSTFLAG_LVDRST) || \</span></div><div class="line"><a name="l00330"></a><span class="lineno">  330</span>&#160;<span class="preprocessor">                                   ((Flag) == RCC_RSTFLAG_PORRST) || \</span></div><div class="line"><a name="l00331"></a><span class="lineno">  331</span>&#160;<span class="preprocessor">                                   ((Flag) == RCC_RSTFLAG_LOCKUPRST) || \</span></div><div class="line"><a name="l00332"></a><span class="lineno">  332</span>&#160;<span class="preprocessor">                                   ((Flag) == RCC_RSTFLAG_PADRST) || \</span></div><div class="line"><a name="l00333"></a><span class="lineno">  333</span>&#160;<span class="preprocessor">                                   ((Flag) == RCC_RSTFLAG_SFTRST))</span></div><div class="line"><a name="l00334"></a><span class="lineno">  334</span>&#160;<span class="comment">/* Exported functions --------------------------------------------------------*/</span></div><div class="line"><a name="l00335"></a><span class="lineno">  335</span>&#160;</div><div class="line"><a name="l00336"></a><span class="lineno">  336</span>&#160;<span class="keywordtype">void</span> <a class="code" href="group___r_c_c.html#ga413f6422be11b1334abe60b3bff2e062">RCC_DeInit</a>(<span class="keywordtype">void</span>);</div><div class="line"><a name="l00337"></a><span class="lineno">  337</span>&#160;</div><div class="line"><a name="l00338"></a><span class="lineno">  338</span>&#160;<span class="keywordtype">void</span> <a class="code" href="group___r_c_c.html#gafbfc95016376b45e5bc49563576a50d6">RCC_HSIConfig</a>(uint32_t HSI_Value, FunctionalState NewState);</div><div class="line"><a name="l00339"></a><span class="lineno">  339</span>&#160;<span class="keywordtype">void</span> <a class="code" href="group___r_c_c.html#ga72d050ad0f27b15082d628ae0bfd6d1c">RCC_LSIConfig</a>(uint32_t LSI_Value, uint32_t LSI_StartUPTime, FunctionalState NewState);</div><div class="line"><a name="l00340"></a><span class="lineno">  340</span>&#160;<span class="keywordtype">void</span> <a class="code" href="group___r_c_c.html#ga432b3281546d23345642d55f8670a93d">RCC_HSEConfig</a>(uint32_t RCC_HSE);</div><div class="line"><a name="l00341"></a><span class="lineno">  341</span>&#160;<span class="keywordtype">void</span> <a class="code" href="group___r_c_c.html#ga8b2e5a38527f353eb72ac7038e56b0b0">RCC_LSEConfig</a>(uint32_t RCC_LSE);</div><div class="line"><a name="l00342"></a><span class="lineno">  342</span>&#160;</div><div class="line"><a name="l00343"></a><span class="lineno">  343</span>&#160;<span class="keywordtype">void</span> <a class="code" href="group___r_c_c.html#ga37810b1a431965bb1914c18f87bb14a6">RCC_HSEDriveCurrentConfig</a>(uint32_t Current);</div><div class="line"><a name="l00344"></a><span class="lineno">  344</span>&#160;<span class="keywordtype">void</span> <a class="code" href="group___r_c_c.html#ga146a8f31f8468224f011202203ee0e1f">RCC_HSEStartTimeConfig</a>(uint32_t Time);</div><div class="line"><a name="l00345"></a><span class="lineno">  345</span>&#160;<span class="keywordtype">void</span> <a class="code" href="group___r_c_c.html#gab6645fbec94afa6645f6e81129ae6d0d">RCC_LSEDriveCurrentConfig</a>(uint32_t Current);</div><div class="line"><a name="l00346"></a><span class="lineno">  346</span>&#160;<span class="keywordtype">void</span> <a class="code" href="group___r_c_c.html#ga434c8b825d3089472e5676633712fa9c">RCC_LSEStartTimeConfig</a>(uint32_t Time);</div><div class="line"><a name="l00347"></a><span class="lineno">  347</span>&#160;</div><div class="line"><a name="l00348"></a><span class="lineno">  348</span>&#160;<span class="keywordtype">void</span> <a class="code" href="group___r_c_c.html#ga3551a36a8f0a3dc96a74d6b939048337">RCC_SYSCLKConfig</a>(uint32_t RCC_SYSCLKSource);</div><div class="line"><a name="l00349"></a><span class="lineno">  349</span>&#160;<span class="keywordtype">void</span> <a class="code" href="group___r_c_c.html#gaa70ccc35b9bbc8efa9fc79576ebaa59a">RCC_AHBCLKConfig</a>(uint32_t RCC_AHBCLKDiv);</div><div class="line"><a name="l00350"></a><span class="lineno">  350</span>&#160;<span class="keywordtype">void</span> <a class="code" href="group___r_c_c.html#ga72fbe926d274ee54bd687902985aa6a0">RCC_APBCLKConfig</a>(uint32_t RCC_APBCLKDiv);</div><div class="line"><a name="l00351"></a><span class="lineno">  351</span>&#160;</div><div class="line"><a name="l00352"></a><span class="lineno">  352</span>&#160;<span class="keywordtype">void</span> <a class="code" href="group___r_c_c.html#ga0c4ea72bdc2342b5ac01056f67b67ac5">RCC_MCOConfig</a>(uint32_t RCC_MCOSource, uint32_t RCC_MCOHCLKDiv);</div><div class="line"><a name="l00353"></a><span class="lineno">  353</span>&#160;<span class="keywordtype">void</span> <a class="code" href="group___r_c_c.html#ga4b68c53f127e0382f58abab2f41c8cf4">RCC_MCOCmd</a>(FunctionalState NewState);</div><div class="line"><a name="l00354"></a><span class="lineno">  354</span>&#160;<span class="keywordtype">void</span> <a class="code" href="group___r_c_c.html#ga3e9944fd1ed734275222bbb3e3f29993">RCC_GetClocksFreq</a>(<a class="code" href="struct_r_c_c___clocks_type_def.html">RCC_ClocksTypeDef</a> *RCC_Clocks);</div><div class="line"><a name="l00355"></a><span class="lineno">  355</span>&#160;</div><div class="line"><a name="l00356"></a><span class="lineno">  356</span>&#160;<span class="keywordtype">void</span> <a class="code" href="group___r_c_c.html#gae0b30d8598b8393bdba9c3fefba3a968">RCC_AHBPeriphClockCmd</a>(uint32_t RCC_AHBPeriph, FunctionalState NewState);</div><div class="line"><a name="l00357"></a><span class="lineno">  357</span>&#160;<span class="keywordtype">void</span> <a class="code" href="group___r_c_c.html#ga6836629a78e13589ab7d318dcc98c79d">RCC_APBPeriphClockCmd</a>(uint32_t RCC_APBPeriph, FunctionalState NewState);</div><div class="line"><a name="l00358"></a><span class="lineno">  358</span>&#160;<span class="keywordtype">void</span> <a class="code" href="group___r_c_c.html#ga0d6761fbffe7e916c7aa043cabde180a">RCC_AHBPeriphResetCmd</a>(uint32_t RCC_AHBPeriph, FunctionalState NewState);</div><div class="line"><a name="l00359"></a><span class="lineno">  359</span>&#160;<span class="keywordtype">void</span> <a class="code" href="group___r_c_c.html#gab9949dce4756cc900075d20f9df8c90b">RCC_APBPeriphResetCmd</a>(uint32_t RCC_APBPeriph, FunctionalState NewState);</div><div class="line"><a name="l00360"></a><span class="lineno">  360</span>&#160;<span class="keywordtype">void</span> <a class="code" href="group___r_c_c.html#ga61bb8115953f7876b421c2d921841a62">RCC_RTCPeriphResetCmd</a>(FunctionalState NewState);</div><div class="line"><a name="l00361"></a><span class="lineno">  361</span>&#160;</div><div class="line"><a name="l00362"></a><span class="lineno">  362</span>&#160;FlagStatus <a class="code" href="group___r_c_c.html#ga8be8d5d022031e7f71d209f1705d47d0">RCC_GetResetFlagStatus</a>(uint32_t RCC_RSTFLAG);</div><div class="line"><a name="l00363"></a><span class="lineno">  363</span>&#160;<span class="keywordtype">void</span> <a class="code" href="group___r_c_c.html#ga0e5725d019edc4d0aa6c5e1d2dd0fe19">RCC_ClearResetFlags</a>(uint32_t RCC_RSTFLAG);</div><div class="line"><a name="l00364"></a><span class="lineno">  364</span>&#160;</div><div class="line"><a name="l00373"></a><span class="lineno">  373</span>&#160;<span class="preprocessor">#ifdef __cplusplus</span></div><div class="line"><a name="l00374"></a><span class="lineno">  374</span>&#160;}</div><div class="line"><a name="l00375"></a><span class="lineno">  375</span>&#160;<span class="preprocessor">#endif</span></div><div class="line"><a name="l00376"></a><span class="lineno">  376</span>&#160;</div><div class="line"><a name="l00377"></a><span class="lineno">  377</span>&#160;<span class="preprocessor">#endif </span><span class="comment">/* __WB32L003_RCC_H */</span><span class="preprocessor"></span></div><div class="ttc" id="struct_r_c_c___clocks_type_def_html_a763579b1f78acbd110b83ab7d139a829"><div class="ttname"><a href="struct_r_c_c___clocks_type_def.html#a763579b1f78acbd110b83ab7d139a829">RCC_ClocksTypeDef::AHBCLK_Frequency</a></div><div class="ttdeci">uint32_t AHBCLK_Frequency</div><div class="ttdef"><b>Definition:</b> wb32l003_rcc.h:33</div></div>
<div class="ttc" id="group___r_c_c_html_ga4b68c53f127e0382f58abab2f41c8cf4"><div class="ttname"><a href="group___r_c_c.html#ga4b68c53f127e0382f58abab2f41c8cf4">RCC_MCOCmd</a></div><div class="ttdeci">void RCC_MCOCmd(FunctionalState NewState)</div><div class="ttdoc">Enable or Disable the MCO Clock output.</div><div class="ttdef"><b>Definition:</b> wb32l003_rcc.c:466</div></div>
<div class="ttc" id="group___r_c_c_html_gab6645fbec94afa6645f6e81129ae6d0d"><div class="ttname"><a href="group___r_c_c.html#gab6645fbec94afa6645f6e81129ae6d0d">RCC_LSEDriveCurrentConfig</a></div><div class="ttdeci">void RCC_LSEDriveCurrentConfig(uint32_t Current)</div><div class="ttdoc">Configures the drive current of Low Speed oscillator (LSE).</div><div class="ttdef"><b>Definition:</b> wb32l003_rcc.c:359</div></div>
<div class="ttc" id="group___r_c_c_html_gab9949dce4756cc900075d20f9df8c90b"><div class="ttname"><a href="group___r_c_c.html#gab9949dce4756cc900075d20f9df8c90b">RCC_APBPeriphResetCmd</a></div><div class="ttdeci">void RCC_APBPeriphResetCmd(uint32_t RCC_APBPeriph, FunctionalState NewState)</div><div class="ttdoc">Forces or releases APB peripheral reset.</div><div class="ttdef"><b>Definition:</b> wb32l003_rcc.c:692</div></div>
<div class="ttc" id="group___r_c_c_html_ga413f6422be11b1334abe60b3bff2e062"><div class="ttname"><a href="group___r_c_c.html#ga413f6422be11b1334abe60b3bff2e062">RCC_DeInit</a></div><div class="ttdeci">void RCC_DeInit(void)</div><div class="ttdoc">Resets the RCC clock configuration to the default reset state.</div><div class="ttdef"><b>Definition:</b> wb32l003_rcc.c:58</div></div>
<div class="ttc" id="group___r_c_c_html_gafbfc95016376b45e5bc49563576a50d6"><div class="ttname"><a href="group___r_c_c.html#gafbfc95016376b45e5bc49563576a50d6">RCC_HSIConfig</a></div><div class="ttdeci">void RCC_HSIConfig(uint32_t HSI_Value, FunctionalState NewState)</div><div class="ttdoc">Configures the Internal High Speed oscillator (HSI).</div><div class="ttdef"><b>Definition:</b> wb32l003_rcc.c:106</div></div>
<div class="ttc" id="group___r_c_c_html_ga0c4ea72bdc2342b5ac01056f67b67ac5"><div class="ttname"><a href="group___r_c_c.html#ga0c4ea72bdc2342b5ac01056f67b67ac5">RCC_MCOConfig</a></div><div class="ttdeci">void RCC_MCOConfig(uint32_t RCC_MCOSource, uint32_t RCC_MCOHCLKDiv)</div><div class="ttdoc">Selects the clock source to output on MCO pin.</div><div class="ttdef"><b>Definition:</b> wb32l003_rcc.c:451</div></div>
<div class="ttc" id="group___r_c_c_html_gae0b30d8598b8393bdba9c3fefba3a968"><div class="ttname"><a href="group___r_c_c.html#gae0b30d8598b8393bdba9c3fefba3a968">RCC_AHBPeriphClockCmd</a></div><div class="ttdeci">void RCC_AHBPeriphClockCmd(uint32_t RCC_AHBPeriph, FunctionalState NewState)</div><div class="ttdoc">Enables or disables the AHB peripheral clock.</div><div class="ttdef"><b>Definition:</b> wb32l003_rcc.c:572</div></div>
<div class="ttc" id="group___r_c_c_html_ga0e5725d019edc4d0aa6c5e1d2dd0fe19"><div class="ttname"><a href="group___r_c_c.html#ga0e5725d019edc4d0aa6c5e1d2dd0fe19">RCC_ClearResetFlags</a></div><div class="ttdeci">void RCC_ClearResetFlags(uint32_t RCC_RSTFLAG)</div><div class="ttdoc">Clear the specified RCC reset flag.</div><div class="ttdef"><b>Definition:</b> wb32l003_rcc.c:788</div></div>
<div class="ttc" id="group___r_c_c_html_ga432b3281546d23345642d55f8670a93d"><div class="ttname"><a href="group___r_c_c.html#ga432b3281546d23345642d55f8670a93d">RCC_HSEConfig</a></div><div class="ttdeci">void RCC_HSEConfig(uint32_t RCC_HSE)</div><div class="ttdoc">Configures the External High Speed oscillator (HSE).</div><div class="ttdef"><b>Definition:</b> wb32l003_rcc.c:251</div></div>
<div class="ttc" id="group___r_c_c_html_ga146a8f31f8468224f011202203ee0e1f"><div class="ttname"><a href="group___r_c_c.html#ga146a8f31f8468224f011202203ee0e1f">RCC_HSEStartTimeConfig</a></div><div class="ttdeci">void RCC_HSEStartTimeConfig(uint32_t Time)</div><div class="ttdoc">Configures the start time of High Speed oscillator (HSE).</div><div class="ttdef"><b>Definition:</b> wb32l003_rcc.c:343</div></div>
<div class="ttc" id="group___r_c_c_html_ga37810b1a431965bb1914c18f87bb14a6"><div class="ttname"><a href="group___r_c_c.html#ga37810b1a431965bb1914c18f87bb14a6">RCC_HSEDriveCurrentConfig</a></div><div class="ttdeci">void RCC_HSEDriveCurrentConfig(uint32_t Current)</div><div class="ttdoc">Configures the drive current of High Speed oscillator (HSE).</div><div class="ttdef"><b>Definition:</b> wb32l003_rcc.c:327</div></div>
<div class="ttc" id="group___r_c_c_html_ga434c8b825d3089472e5676633712fa9c"><div class="ttname"><a href="group___r_c_c.html#ga434c8b825d3089472e5676633712fa9c">RCC_LSEStartTimeConfig</a></div><div class="ttdeci">void RCC_LSEStartTimeConfig(uint32_t Time)</div><div class="ttdoc">Configures the start time of Low Speed oscillator (LSE).</div><div class="ttdef"><b>Definition:</b> wb32l003_rcc.c:375</div></div>
<div class="ttc" id="group___r_c_c_html_ga8be8d5d022031e7f71d209f1705d47d0"><div class="ttname"><a href="group___r_c_c.html#ga8be8d5d022031e7f71d209f1705d47d0">RCC_GetResetFlagStatus</a></div><div class="ttdeci">FlagStatus RCC_GetResetFlagStatus(uint32_t RCC_RSTFLAG)</div><div class="ttdoc">Checks whether the specified RCC reset flag is set or not.</div><div class="ttdef"><b>Definition:</b> wb32l003_rcc.c:753</div></div>
<div class="ttc" id="group___r_c_c_html_ga6836629a78e13589ab7d318dcc98c79d"><div class="ttname"><a href="group___r_c_c.html#ga6836629a78e13589ab7d318dcc98c79d">RCC_APBPeriphClockCmd</a></div><div class="ttdeci">void RCC_APBPeriphClockCmd(uint32_t RCC_APBPeriph, FunctionalState NewState)</div><div class="ttdoc">Enables or disables the APB peripheral clock.</div><div class="ttdef"><b>Definition:</b> wb32l003_rcc.c:616</div></div>
<div class="ttc" id="group___r_c_c_html_ga61bb8115953f7876b421c2d921841a62"><div class="ttname"><a href="group___r_c_c.html#ga61bb8115953f7876b421c2d921841a62">RCC_RTCPeriphResetCmd</a></div><div class="ttdeci">void RCC_RTCPeriphResetCmd(FunctionalState NewState)</div><div class="ttdoc">Forces or releases RTC peripheral reset.</div><div class="ttdef"><b>Definition:</b> wb32l003_rcc.c:717</div></div>
<div class="ttc" id="group___r_c_c_html_ga72fbe926d274ee54bd687902985aa6a0"><div class="ttname"><a href="group___r_c_c.html#ga72fbe926d274ee54bd687902985aa6a0">RCC_APBCLKConfig</a></div><div class="ttdeci">void RCC_APBCLKConfig(uint32_t RCC_APBCLKDiv)</div><div class="ttdoc">Configures the APB clock (APBCLK).</div><div class="ttdef"><b>Definition:</b> wb32l003_rcc.c:428</div></div>
<div class="ttc" id="struct_r_c_c___clocks_type_def_html_a48b5f04759728e39921969e75c4899e8"><div class="ttname"><a href="struct_r_c_c___clocks_type_def.html#a48b5f04759728e39921969e75c4899e8">RCC_ClocksTypeDef::SYSCLK_Frequency</a></div><div class="ttdeci">uint32_t SYSCLK_Frequency</div><div class="ttdef"><b>Definition:</b> wb32l003_rcc.h:32</div></div>
<div class="ttc" id="group___r_c_c_html_ga8b2e5a38527f353eb72ac7038e56b0b0"><div class="ttname"><a href="group___r_c_c.html#ga8b2e5a38527f353eb72ac7038e56b0b0">RCC_LSEConfig</a></div><div class="ttdeci">void RCC_LSEConfig(uint32_t RCC_LSE)</div><div class="ttdoc">Configures the External Low Speed oscillator (LSE).</div><div class="ttdef"><b>Definition:</b> wb32l003_rcc.c:289</div></div>
<div class="ttc" id="struct_r_c_c___clocks_type_def_html_a79bc7eb9603df665f549032fc14282fd"><div class="ttname"><a href="struct_r_c_c___clocks_type_def.html#a79bc7eb9603df665f549032fc14282fd">RCC_ClocksTypeDef::APBCLK_Frequency</a></div><div class="ttdeci">uint32_t APBCLK_Frequency</div><div class="ttdef"><b>Definition:</b> wb32l003_rcc.h:34</div></div>
<div class="ttc" id="group___r_c_c_html_gaa70ccc35b9bbc8efa9fc79576ebaa59a"><div class="ttname"><a href="group___r_c_c.html#gaa70ccc35b9bbc8efa9fc79576ebaa59a">RCC_AHBCLKConfig</a></div><div class="ttdeci">void RCC_AHBCLKConfig(uint32_t RCC_AHBCLKDiv)</div><div class="ttdoc">Configures the AHB clock (AHBCLK).</div><div class="ttdef"><b>Definition:</b> wb32l003_rcc.c:413</div></div>
<div class="ttc" id="group___r_c_c_html_ga72d050ad0f27b15082d628ae0bfd6d1c"><div class="ttname"><a href="group___r_c_c.html#ga72d050ad0f27b15082d628ae0bfd6d1c">RCC_LSIConfig</a></div><div class="ttdeci">void RCC_LSIConfig(uint32_t LSI_Value, uint32_t LSI_StartUPTime, FunctionalState NewState)</div><div class="ttdoc">Configures the Internal low Speed oscillator (LSI).</div><div class="ttdef"><b>Definition:</b> wb32l003_rcc.c:174</div></div>
<div class="ttc" id="group___r_c_c_html_ga0d6761fbffe7e916c7aa043cabde180a"><div class="ttname"><a href="group___r_c_c.html#ga0d6761fbffe7e916c7aa043cabde180a">RCC_AHBPeriphResetCmd</a></div><div class="ttdeci">void RCC_AHBPeriphResetCmd(uint32_t RCC_AHBPeriph, FunctionalState NewState)</div><div class="ttdoc">Forces or releases AHB peripheral reset.</div><div class="ttdef"><b>Definition:</b> wb32l003_rcc.c:644</div></div>
<div class="ttc" id="group___r_c_c_html_ga3e9944fd1ed734275222bbb3e3f29993"><div class="ttname"><a href="group___r_c_c.html#ga3e9944fd1ed734275222bbb3e3f29993">RCC_GetClocksFreq</a></div><div class="ttdeci">void RCC_GetClocksFreq(RCC_ClocksTypeDef *RCC_Clocks)</div><div class="ttdoc">Returns the frequencies of different on chip clocks.</div><div class="ttdef"><b>Definition:</b> wb32l003_rcc.c:484</div></div>
<div class="ttc" id="group___r_c_c_html_ga3551a36a8f0a3dc96a74d6b939048337"><div class="ttname"><a href="group___r_c_c.html#ga3551a36a8f0a3dc96a74d6b939048337">RCC_SYSCLKConfig</a></div><div class="ttdeci">void RCC_SYSCLKConfig(uint32_t RCC_SYSCLKSource)</div><div class="ttdoc">Configures the SYS Clock (SYSCLK).</div><div class="ttdef"><b>Definition:</b> wb32l003_rcc.c:394</div></div>
<div class="ttc" id="struct_r_c_c___clocks_type_def_html"><div class="ttname"><a href="struct_r_c_c___clocks_type_def.html">RCC_ClocksTypeDef</a></div><div class="ttdef"><b>Definition:</b> wb32l003_rcc.h:30</div></div>
</div><!-- fragment --></div><!-- contents -->
<!-- start footer part -->
<hr class="footer"/><address class="footer"><small>
Generated by Westberry Technology (ChangZhou) Corp., Ltd. All rights reserved.
</small></address>
</body>
</html>
